home *** CD-ROM | disk | FTP | other *** search
/ Experimental BBS Explossion 3 / Experimental BBS Explossion III.iso / games / nhak_src.zip / COLOR.H < prev    next >
C/C++ Source or Header  |  1993-03-16  |  934b  |  38 lines

  1. /*    SCCS Id: @(#)color.h    3.0    89/09/30
  2. /* Copyright (c) Steve Linhart, Eric Raymond, 1989. */
  3. /* NetHack may be freely redistributed.  See license for details. */
  4.  
  5. #ifndef COLOR_H
  6. #define COLOR_H
  7.  
  8. #define BLACK        0
  9. #define RED        1
  10. #define GREEN        2
  11. #define BROWN        3    /* on IBM, lo-intensity yellow is brown */
  12. #define BLUE        4
  13. #define MAGENTA     5
  14. #define CYAN        6
  15. #define GRAY        7    /* lo-intensity white */
  16. #define BRIGHT        8
  17. #define ORANGE_COLORED    9
  18. #define YELLOW        11
  19. #define WHITE        15
  20. #define MAXCOLORS    16    /* 8 basic + 8 bright */
  21.  
  22. /* these can be configured */
  23. #define HI_OBJ        MAGENTA
  24. #define HI_METAL    CYAN
  25. #define HI_COPPER    YELLOW
  26. #define HI_SILVER    GRAY
  27. #define HI_GOLD     YELLOW
  28. #define HI_LEATHER    BROWN
  29. #define HI_CLOTH    BROWN
  30. #define HI_ORGANIC    GREEN
  31. #define HI_WOOD     BROWN
  32. #define HI_PAPER    WHITE
  33. #define HI_GLASS    CYAN + BRIGHT
  34. #define HI_MINERAL    GRAY
  35. #define HI_ZAP        BLUE + BRIGHT
  36.  
  37. #endif /* COLOR_H */
  38.